export interface IRoomSupportingFacilities {
  id?: number;
  washer?: boolean | null;
  airCondition?: boolean | null;
  waterHeater?: boolean | null;
  bed?: boolean | null;
  heating?: boolean | null;
  wardrobe?: boolean | null;
  refrigerator?: boolean | null;
  naturalGas?: boolean | null;
  internet?: boolean | null;
  television?: boolean | null;
}

export class RoomSupportingFacilities implements IRoomSupportingFacilities {
  constructor(
    public id?: number,
    public washer?: boolean | null,
    public airCondition?: boolean | null,
    public waterHeater?: boolean | null,
    public bed?: boolean | null,
    public heating?: boolean | null,
    public wardrobe?: boolean | null,
    public refrigerator?: boolean | null,
    public naturalGas?: boolean | null,
    public internet?: boolean | null,
    public television?: boolean | null
  ) {
    this.washer = this.washer ?? false;
    this.airCondition = this.airCondition ?? false;
    this.waterHeater = this.waterHeater ?? false;
    this.bed = this.bed ?? false;
    this.heating = this.heating ?? false;
    this.wardrobe = this.wardrobe ?? false;
    this.refrigerator = this.refrigerator ?? false;
    this.naturalGas = this.naturalGas ?? false;
    this.internet = this.internet ?? false;
    this.television = this.television ?? false;
  }
}
